import servicer from "@/service/request";

// 获取验证码
export const getCaptchaImageAPI = () => {
    return servicer<CaptchaAPIRes>({
        method: 'GET',
        url: '/prod-api/captchaImage'
    })
}

// 登录账号
export const postLoginAPI = (data: LoginAPIReq) => {
    return servicer<LoginAPIRes>({
        method: 'POST',
        url: '/prod-api/login',
        data
    })
}
